﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" x:Name="userControl"
	mc:Ignorable="d"
	x:Class="RubricaSentimentale.Details">

	<Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid.ColumnDefinitions>
			<ColumnDefinition/>
			<ColumnDefinition Width="111"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="92"/>
			<RowDefinition/>
		</Grid.RowDefinitions>
        <ListBox x:Name="Container" Grid.ColumnSpan="2" ItemsSource="{Binding}" Grid.Row="1" Background="{x:Null}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Grid HorizontalAlignment="Stretch" Margin="0">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="308*" />
                            <ColumnDefinition Width="62*" />
                        </Grid.ColumnDefinitions>
                        <Image Source="/icons/appbar.delete.rest.png" Stretch="Fill" Tap="Image_Tap" Grid.Column="1" />
                        <TextBlock TextWrapping="Wrap" VerticalAlignment="Center" FontSize="24" Text="{Binding}" Margin="0,10" />
                    </Grid>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <TextBox x:Name="tbxDettaglio" Text="" TextWrapping="Wrap" Margin="-9,0,-8,0"/>
		<Button Content="OK" x:Name="btnAdd" Grid.Column="1" Margin="8,8,8,0"/>
	</Grid>
</UserControl>